package com.conference.dto;

import lombok.Data;
import javax.validation.constraints.NotNull;

@Data
public class LoginRequest {
    @NotNull(message = "用户名不能为空")
    private String username;
    
    @NotNull(message = "密码不能为空")
    private String password;
    
    @NotNull(message = "请选择登录角色")
    private Byte permissionId; // 0=参会人员, 1=会议组织者
} 